<!DOCTYPE html>
<html lang="en">
<head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
        {% block title %}{% endblock %}
        <link rel="stylesheet" href="/static/css/bootstrap.min.css">
		<link rel="stylesheet" href="http://www.pintuer.com/css/pintuer.css">
		<link rel="stylesheet" href="/static/css/admin.css">
		<script src="http://www.pintuer.com/js/jquery.js"></script>
		<script src="http://www.pintuer.com/js/pintuer.js"></script>
		<script src="/static/js/admin.js"></script>
        {% block style %} {% endblock %}
</head>
<body>
    <div class="lefter">
			<div class="logo">
				<!--<a href="#" target="_blank"><img src="/static/images/logo.jpg" alt="后台管理系统" /></a>-->
			</div>
    </div>

    <div class="righter nav-navicon" id="admin-nav">
			<div class="mainer">
				<div class="admin-navbar">
					<span class="float-right">
                    <a class="button button-little bg-yellow" href="/login.html/">注销登录</a>
                </span>
					<ul class="nav nav-inline admin-nav">
						<li id="home" class="active">
							<a href="/index.html/" class="icon-home"> 首页</a>
							<ul>
                                {% if obj.isTeacher %}
								<li><a href="/content.html/">云阅读</a></li>
								<li><a href="/homewordlist.html/">任务小智</a></li>
								<li><a href="#">文件</a></li>
								<li><a href="/analyze.html/">答疑</a></li>
                                {% endif %}
                                {% if not obj.isTeacher %}
								<li><a href="/content.html/">云阅读</a></li>
								<li><a href="/finish_list.html/">小试牛刀</a></li>
								<li><a href="#">文件</a></li>
								<li><a href="/analyze.html/">答疑</a></li>
                                {% endif %}
							</ul>
						</li>
						<li id="read">
							<a href="/content.html/"  class="icon-file-text">云阅读</a>
							<ul>
								<li><a href="/cnblogs.html/">博客园</a></li>
								<li><a href="/csdn.html/">CSDN</a></li>
								<li><a href="/oschina.html/">开源中国</a></li>
								<li><a href="/iot.html/">物联网智库</a></li>
							</ul>
						</li>
                        {% if obj.isTeacher  %}
                            	<li id="test">
                                    <a  href="/homewordlist.html/" class="icon-cog">任务小智</a>
                                    <ul>
                                        <li>
                                            <a href="/homewordlist.html/">作业</a>
                                        </li>
                                         <li>
                                            <a href="/stage.html/">测试</a>
                                        </li>
                                        <li><a href="/fix_up.html/">布置作业</a></li>
                                        <li><a href="/add_test.html/">发布测试</a></li>
                                        <li><a href="/add_test_bank.html/">添加题库</a></li>
                                    </ul>
                                </li>
                        {% endif %}
                              {% if not obj.isTeacher  %}
                            	<li id="test">
                                    <a  href="/finish_list.html/" class="icon-cog"> 小试牛刀</a>
                                    <ul>
                                        <li>
                                            <a href="/stu_home_list.html/">作业</a>
                                        </li>
                                        <li><a href="/stage.html/">阶段测验</a></li>
                                        <li><a href="#"></a></li>
                                    </ul>
                                </li>
                        {% endif %}

						<li id="uploadfile">
                            <a href="/teacher_look_test.html/" class="icon-file">分析小战</a>
                            <ul>
                                <li>
                                    <a href="/teacher_look_test.html/">测试小列</a>
                                </li>
                                <li><a href="#">答疑</a></li>
                                <li><a href="#"></a></li>
                            </ul>
                        </li>
						<li id="question">
                            <a  href="/analyze.html/" class="icon-th-list"> 答疑</a>
                            <ul>
								<li>
                                    <a href="/analyze.html/">解析</a>
                                </li>
                            </ul>
                        </li>
					</ul>
				</div>
				<div class="admin-bread">
					<span>您好，{{username}}，欢迎您的光临。</span>
					<ul class="bread">
						<li><a href="index.html" class="icon-home"> 开始</a></li>
                        {% block li %}

                        {% endblock %}
					</ul>
				</div>
			</div>
		</div>
        {% block content %} {% endblock %}
        <script>

        </script>
        {% block js %} {% endblock %}

</body>
</html>